import Layout from '/@vab/layouts/index.vue'
import { VabRouteRecordRaw } from '../types'
const homeRouter: VabRouteRecordRaw[] = [
  {
    path: '/',
    name: 'Root',
    component: Layout,
    authName: 'Root.all',
    meta: {
      title: '首页',
      icon: 'home-2-line',
      breadcrumbHidden: true,
      levelHidden: true,
      authShow: true
    },
    children: [
      {
        path: 'index',
        name: 'Index',
        component: () => import('/@/views/index/index.vue'),
        authName: 'Index.all',
        meta: {
          title: '首页',
          icon: 'home-2-line',
          noClosable: true,
          authShow: true
        },
      },
    ],
  },
]

export default homeRouter
